home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>12</cardCount>
- <cardID>2150</cardID>
- <listID>4175</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>576</width>
- <height>392</height>
- </cardSize>
- <script>on DisposeVideo
- global movieID
- -- Direct movies only!
- -- This disposes of the movie but doesn't erase the screen
- -- so some may be confused by last frame seen still appearing
- if movieID is not empty and movieID is a number then
- QTMovie Direct,movieID,Dispose
- put empty into movieID
- end if
- end DisposeVideo
-
- on openStack
- put empty into foo
- QTMovie version
- put the result into v
- put "QTMovie: " & v into line 1 of foo
-
- put foo into cd field versions of card 1
-
- buildPopUp
-
- QTMovie OpenMovie
- get the result
- if "must install" is in it then answer "QuickTime is NOT installed"
- end OpenStack
-
- -- moves rect to 0,0; used in set movieRect calls
- function ZeroRect r
- subtract item 1 of r from item 3 of r
- subtract item 2 of r from item 4 of r
- put 0 into item 1 of r
- put 0 into item 2 of r
- return r
- end ZeroRect
-
- on newCard
- buildPopUp
- end newCard
-
- on buildPopUp
- global menuItems
- put empty into menuItems
- repeat with i = 1 to the number of cards
- get the short name of card i
- put it & "," after menuItems
- end repeat
-
- delete last char of menuItems -- the last comma
-
- end buildPopUp
-
- on GoCard
- global menuItems
-
- if there is a window "live video" then send videoOff to window "live video"
- get PopUpMenu (menuItems, 0, bottom of the target, left of the target+1)
- if there is a window "live video" then send videoOn to window "live video"
-
- if it > 0 then
- go card it of this bg
- end if
- end GoCard
-
- function ExtractFileName FileName
- put ":" into Delimiter
- if Delimiter is in FileName then
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char CharPos+1 to length(FileName) of FileName
- end repeat
- return empty
- else
- return FileName
- end if
- end ExtractFileName
-
- function ExtractPathName FileName
- put ":" into Delimiter
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char 1 to CharPos of FileName
- end repeat
- return empty
- end ExtractPathName
-
- on primeStack
- repeat with i = 1 to the number of cards
- go card i
- send primeCard to card i
- end repeat
-
- go first card
- end primeStack
-
- on primeCard
- if there is a field filename then
- put "Your Volume:Your Folder:Your File" into field filename
- end if
- if there is a cd field "help text" then
- set lockText of cd field "help text" to true
- hide cd field "help text"
- end if
- end primeCard
- </script>
- <background id="2723" file="background_2723.xml" name="QTMovie" />
- <card id="2150" file="card_2150.xml" marked="false" name="Title Page" owner="2723" />
- <card id="8456" file="card_8456.xml" marked="false" name="Play a Movie" owner="2723" />
- <card id="6233" file="card_6233.xml" marked="false" name="Segment play" owner="2723" />
- <card id="2402" file="card_2402.xml" marked="false" name="Drag and Resize" owner="2723" />
- <card id="3809" file="card_3809.xml" marked="false" name="The Kerns Smear" owner="2723" />
- <card id="6049" file="card_6049.xml" marked="false" name="Splat Movie" owner="2723" />
- <card id="4954" file="card_4954.xml" marked="false" name="Clipped Movies" owner="2723" />
- <card id="4359" file="card_4359.xml" marked="false" name="Panning a Movie" owner="2723" />
- <card id="6566" file="card_6566.xml" marked="false" name="Replace a Movie" owner="2723" />
- <card id="10765" file="card_10765.xml" marked="false" name="MouseDown Callback" owner="2723" />
- <card id="10057" file="card_10057.xml" marked="false" name="Timed Call Back" owner="2723" />
- <card id="6858" file="card_6858.xml" marked="false" name="Window Close Callback" owner="2723" />
- </stack>
-